﻿<!DOCTYPE html>
<html ng-app="app">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - </title>
    @Styles.Render("~/Content/Theme")
    <link href="/Content/themes/css/xeditable.css" rel="stylesheet">
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("css", required: false)
</head>
<body class="bootstrap-admin-with-small-navbar">

    <!-- main / large navbar -->
    <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="row">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".main-navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="/">Admin Panel</a>
                </div>
                <div class="collapse navbar-collapse main-navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="/Banner">Banner</a></li>
                        <li><a href="/Location">Location</a></li>
                        <li><a href="/Category">Category</a></li>
                        <li><a href="/News">News</a></li>
                        <li><a href="/User">User</a></li>
                    </ul>
                    <ul class="nav navbar-nav navbar-right ">
                        <li><a href="#">Welcome @User.Identity.Name</a></li>
                        <li><a href="/Home/Logout">Log out</a></li>
                    </ul>
                </div>
                <!-- /.navbar-collapse -->
            </div>
        </div>
        <!-- /.container -->
    </nav>
    <div class="container">
        <div class="row">
            @RenderBody()
        </div>
        <div class="row">
            <hr>
            <footer role="contentinfo">
                <p>&copy;  @DateTime.Now.Year -  <a href="#" target="_blank">Leuréka</a></p>
            </footer>
        </div>
    </div>
    <div id='ajax_loader'>
        <img src="/Content/themes/images/loading.gif"></img>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
    <script src="/Scripts/xeditable.js"></script>
    @RenderSection("scripts", required: false)
</body>
</html>
